home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F24961_SplPage.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  1.8 KB  |  60 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 1999                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10. // SplPage.cpp : implementation file
  11. //
  12.  
  13. #include "stdafx.h"
  14. #include "MfcSplin.h"
  15. #include "SplPage.h"
  16.  
  17. #ifdef _DEBUG
  18. #define new DEBUG_NEW
  19. #undef THIS_FILE
  20. static char THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CSplinePage dialog
  25.  
  26.  
  27. CSplinePage::CSplinePage(CWnd* pParent /*=NULL*/)
  28.     : CDialog(CSplinePage::IDD, pParent)
  29. {
  30.     //{{AFX_DATA_INIT(CSplinePage)
  31.     m_nSegments = 0;
  32.     m_bControlPoints = FALSE;
  33.     m_bFrame = FALSE;
  34.     m_bSmoothing = FALSE;
  35.     //}}AFX_DATA_INIT
  36. }
  37.  
  38.  
  39. void CSplinePage::DoDataExchange(CDataExchange* pDX)
  40. {
  41.     CDialog::DoDataExchange(pDX);
  42.     //{{AFX_DATA_MAP(CSplinePage)
  43.     DDX_Text(pDX, IDC_SEGMENTS, m_nSegments);
  44.     DDV_MinMaxUInt(pDX, m_nSegments, 1, 200);
  45.     DDX_Check(pDX, IDC_SHOW_CONTROL_POINTS, m_bControlPoints);
  46.     DDX_Check(pDX, IDC_SHOW_FRAME, m_bFrame);
  47.     DDX_Check(pDX, IDC_SMOOTHING, m_bSmoothing);
  48.     //}}AFX_DATA_MAP
  49. }
  50.  
  51.  
  52. BEGIN_MESSAGE_MAP(CSplinePage, CDialog)
  53.     //{{AFX_MSG_MAP(CSplinePage)
  54.         // NOTE: the ClassWizard will add message map macros here
  55.     //}}AFX_MSG_MAP
  56. END_MESSAGE_MAP()
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59. // CSplinePage message handlers
  60.